<?php
class Karyawan_status_model extends MY_Model {
	
    function Karyawan_status_model(){
        parent::MY_Model();
        $this->load->database();
        $this->table_name = "karyawan_status";
    }
    
    /**
     * 
     * @param $id
     */
    function select_by_id($id){
    	return $query = $this->db->get_where($this->table_name, array('kary_sts_id' => $id));
    }
}